package com.xmg.model.menu;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author xmg
 * @Description
 * @email 463364973@qq.com
 * <p>
 * Date:2019/4/6 13:46
 */
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ViewButton extends AbstractButton{

    @Getter
    @Setter
    private String type = "view";

    /** 要跳转的地址 */
    @Getter
    @Setter
    private String url;

    public ViewButton(String name, String url) {
        super(name);
        this.url = url;
    }
}
